
Last chance! 50% off unlimited learning
Sale ends in
Given a 3 x 3 rotation matrix, the angle and the axis of rotation are calcualted.
Arotation(A)
A 3 x 3 rotation matrix.
A list including:
The angle of rotation expressed in degrees.
The axis of rotation. A vector of two components, latitude and longitude, expressed in degrees.
If the user does not supply a rotation matrix a message will appear.
Course webpage of Howard E. Haber. http://scipp.ucsc.edu/~haber/ph216/rotation_12.pdf
Ted Chang (1986). Spherical Regression. Annals of Statistics, 14(3): 907-924.
# NOT RUN {
ksi <- c(25.31, 24.29)
theta <- 2.38
A <- rot.matrix(ksi, theta, rads = FALSE)
A
Arotation(A)
# }
Run the code above in your browser using DataLab